﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类RESULT_SPEAKER
     ///</summary>
     public class RESULT_SPEAKER
     {
         private int __ID= 0;
         private string __SJJCCS="" ;
         private string __JCLSH="" ;
         private string __SCSJZ="" ;
         private string __SJZ_PD="" ;
         private string __SJXZXX="" ;
         private string __SJXZSX="" ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public RESULT_SPEAKER()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("SJJCCS",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("SCSJZ",false);
             this.__Changed.Add("SJZ_PD",false);
             this.__Changed.Add("SJXZXX",false);
             this.__Changed.Add("SJXZSX",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID = 0;
             this.__SJJCCS = "" ;
             this.__JCLSH = "" ;
             this.__SCSJZ = "" ;
             this.__SJZ_PD = "" ;
             this.__SJXZXX = "" ;
             this.__SJXZSX = "" ;
             this.__Changed["ID"] = false;
             this.__Changed["SJJCCS"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["SCSJZ"] = false;
             this.__Changed["SJZ_PD"] = false;
             this.__Changed["SJXZXX"] = false;
             this.__Changed["SJXZSX"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[SJJCCS]的数据
         /// </summary>
         public string SJJCCS
         {
              set{ __SJJCCS = value.Replace("'","’"); __Changed["SJJCCS"] = true;}
              get{return __SJJCCS;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[SCSJZ]的数据
         /// </summary>
         public string SCSJZ
         {
              set{ __SCSJZ = value.Replace("'","’"); __Changed["SCSJZ"] = true;}
              get{return __SCSJZ;}
         }
         /// <summary>
         ///设置或获取类中的[SJZ_PD]的数据
         /// </summary>
         public string SJZ_PD
         {
              set{ __SJZ_PD = value.Replace("'","’"); __Changed["SJZ_PD"] = true;}
              get{return __SJZ_PD;}
         }
         /// <summary>
         ///设置或获取类中的[SJXZXX]的数据
         /// </summary>
         public string SJXZXX
         {
              set{ __SJXZXX = value.Replace("'","’"); __Changed["SJXZXX"] = true;}
              get{return __SJXZXX;}
         }
         /// <summary>
         ///设置或获取类中的[SJXZSX]的数据
         /// </summary>
         public string SJXZSX
         {
              set{ __SJXZSX = value.Replace("'","’"); __Changed["SJXZSX"] = true;}
              get{return __SJXZSX;}
         }
    }
}
